package myky.com.doctorapp.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class MineFragmentEntity implements MultiItemEntity {

    public static final int DEFAULT = 101;
    public static final int FOOTLAYOUT = 102;
    private int type;
    private String text;


    public MineFragmentEntity(int type, String text) {
        this.type = type;
        this.text = text;
    }

    public MineFragmentEntity(int type) {
        this.type = type;
    }

    public MineFragmentEntity(String text) {
        this.text = text;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
